﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

using Baza.EF.DAL;
using Baza.EF.BLL;


namespace Pep_3014_3070_Desktop
{
    public partial class ActiveReservation : Form
    {
        public ActiveReservation()
        {
            InitializeComponent();
        }

        private void ActiveReservation_Load(object sender, EventArgs e)
        {
            dgvRezervacije.DataSource = DAIznajmljivaciApartmani.SelectActiveReservations();

            dgvRezervacije.RowHeadersVisible = false;

            dgvRezervacije.Columns[0].HeaderText = "Broj rezervacije";



            //dgvActiveReservations.Columns[1].Visible = false;
            //dgvActiveReservations.Columns[2].Visible = false;
            //dgvActiveReservations.Columns[3].Visible = false;
            //dgvActiveReservations.Columns[4].Visible = false;
        }

      
    }
}
